/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package Calculadora;

/**
 *
 * @author Jorge
 */
public abstract class OperacionBinaria extends OperacionUnaria {

  protected Operacion op2;

  public OperacionBinaria(Operacion op1, Operacion op2) {
      super(op1);
      this.op2 = op2;
  }

  public void setOp2(Operacion op2) {
      this.op2 = op2;
  }

  public Operacion getOp2() {
  return this.op2;
  }

}